3.444 \(\int \log (c (d (e+f x)^p)^q) \, dx\)

Optimal. Leaf size=29 \[ \frac {(e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f}-p q x \]

[Out]

-p*q*x+(f*x+e)*ln(c*(d*(f*x+e)^p)^q)/f

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {2389, 2295, 2445} \[ \frac {(e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f}-p q x \]

Antiderivative was successfully verified.

[In]

Int[Log[c*(d*(e + f*x)^p)^q],x]

[Out]

-(p*q*x) + ((e + f*x)*Log[c*(d*(e + f*x)^p)^q])/f

Rule 2295

Int[Log[(c_.)*(x_)^(n_.)], x_Symbol] :> Simp[x*Log[c*x^n], x] - Simp[n*x, x] /; FreeQ[{c, n}, x]

Rule 2389

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.), x_Symbol] :> Dist[1/e, Subst[Int[(a + b*Log[c*
x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, n, p}, x]

Rule 2445

Int[((a_.) + Log[(c_.)*((d_.)*((e_.) + (f_.)*(x_))^(m_.))^(n_)]*(b_.))^(p_.)*(u_.), x_Symbol] :> Subst[Int[u*(
a + b*Log[c*d^n*(e + f*x)^(m*n)])^p, x], c*d^n*(e + f*x)^(m*n), c*(d*(e + f*x)^m)^n] /; FreeQ[{a, b, c, d, e,
f, m, n, p}, x] &&  !IntegerQ[n] &&  !(EqQ[d, 1] && EqQ[m, 1]) && IntegralFreeQ[IntHide[u*(a + b*Log[c*d^n*(e
+ f*x)^(m*n)])^p, x]]

Rubi steps

\begin {align*} \int \log \left (c \left (d (e+f x)^p\right )^q\right ) \, dx &=\operatorname {Subst}\left (\int \log \left (c d^q (e+f x)^{p q}\right ) \, dx,c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\operatorname {Subst}\left (\frac {\operatorname {Subst}\left (\int \log \left (c d^q x^{p q}\right ) \, dx,x,e+f x\right )}{f},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=-p q x+\frac {(e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 29, normalized size = 1.00 \[ \frac {(e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f}-p q x \]

Antiderivative was successfully verified.

[In]

Integrate[Log[c*(d*(e + f*x)^p)^q],x]

[Out]

-(p*q*x) + ((e + f*x)*Log[c*(d*(e + f*x)^p)^q])/f

________________________________________________________________________________________

fricas [A]  time = 0.46, size = 42, normalized size = 1.45 \[ -\frac {f p q x - f q x \log \relax (d) - f x \log \relax (c) - {\left (f p q x + e p q\right )} \log \left (f x + e\right )}{f} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(d*(f*x+e)^p)^q),x, algorithm="fricas")

[Out]

-(f*p*q*x - f*q*x*log(d) - f*x*log(c) - (f*p*q*x + e*p*q)*log(f*x + e))/f

________________________________________________________________________________________

giac [A]  time = 0.18, size = 58, normalized size = 2.00 \[ \frac {{\left (f x + e\right )} p q \log \left (f x + e\right )}{f} - \frac {{\left (f x + e\right )} p q}{f} + \frac {{\left (f x + e\right )} q \log \relax (d)}{f} + \frac {{\left (f x + e\right )} \log \relax (c)}{f} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(d*(f*x+e)^p)^q),x, algorithm="giac")

[Out]

(f*x + e)*p*q*log(f*x + e)/f - (f*x + e)*p*q/f + (f*x + e)*q*log(d)/f + (f*x + e)*log(c)/f

________________________________________________________________________________________

maple [A]  time = 0.05, size = 36, normalized size = 1.24 \[ \frac {e p q \ln \left (f x +e \right )}{f}-p q x +x \ln \left (c \left (d \left (f x +e \right )^{p}\right )^{q}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(ln(c*(d*(f*x+e)^p)^q),x)

[Out]

x*ln(c*(d*(f*x+e)^p)^q)-p*q*x+q*p/f*e*ln(f*x+e)

________________________________________________________________________________________

maxima [A]  time = 0.58, size = 40, normalized size = 1.38 \[ -f p q {\left (\frac {x}{f} - \frac {e \log \left (f x + e\right )}{f^{2}}\right )} + x \log \left (\left ({\left (f x + e\right )}^{p} d\right )^{q} c\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(d*(f*x+e)^p)^q),x, algorithm="maxima")

[Out]

-f*p*q*(x/f - e*log(f*x + e)/f^2) + x*log(((f*x + e)^p*d)^q*c)

________________________________________________________________________________________

mupad [B]  time = 0.07, size = 36, normalized size = 1.24 \[ x\,\ln \left (c\,{\left (d\,{\left (e+f\,x\right )}^p\right )}^q\right )+\frac {p\,q\,\left (e\,\ln \left (e+f\,x\right )-f\,x\right )}{f} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(log(c*(d*(e + f*x)^p)^q),x)

[Out]

x*log(c*(d*(e + f*x)^p)^q) + (p*q*(e*log(e + f*x) - f*x))/f

________________________________________________________________________________________

sympy [A]  time = 0.95, size = 53, normalized size = 1.83 \[ \begin {cases} \frac {e p q \log {\left (e + f x \right )}}{f} + p q x \log {\left (e + f x \right )} - p q x + q x \log {\relax (d )} + x \log {\relax (c )} & \text {for}\: f \neq 0 \\x \log {\left (c \left (d e^{p}\right )^{q} \right )} & \text {otherwise} \end {cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(ln(c*(d*(f*x+e)**p)**q),x)

[Out]

Piecewise((e*p*q*log(e + f*x)/f + p*q*x*log(e + f*x) - p*q*x + q*x*log(d) + x*log(c), Ne(f, 0)), (x*log(c*(d*e
**p)**q), True))

________________________________________________________________________________________